package fastjson.book.bean;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class UserBean {
	private String username;//姓名
	private Integer age ;//年龄
	private String email;//邮箱
	private CommonEnum validFlag;//有效
	private Date birth;//生日
	private List<String> likes;//爱好
	private Boolean sex;//性别
	private String height;//身高
//	private UserBean partner;//配偶
	private Dept dept; //部门
	
	private BigDecimal amount;
	
//	private int count;
	public UserBean() {
		// TODO Auto-generated constructor stub
	}
	
	public UserBean(String username, Integer age) {
		super();
		this.username = username;
		this.age = age;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public CommonEnum getValidFlag() {
		return validFlag;
	}

	public void setValidFlag(CommonEnum validFlag) {
		this.validFlag = validFlag;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public List<String> getLikes() {
		return likes;
	}

	public void setLikes(List<String> likes) {
		this.likes = likes;
	}

	public void setSex(Boolean sex) {
		this.sex = sex;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

//	public UserBean getPartner() {
//		return partner;
//	}
//
//	public void setPartner(UserBean partner) {
//		this.partner = partner;
//	}

	public Boolean getSex() {
		return sex;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}

	public int getCount() {
		return 0;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	/*public void setCount(int count) {
		this.count = count;
	}*/
	
}
